from sqlalchemy.orm import Mapped, mapped_column

from .base import Base


class IncomingSO(Base):
    __tablename__ = "incoming_so"

    id: Mapped[int] = mapped_column(primary_key=True)
    file_name: Mapped[str]
    section_type: Mapped[str]
    section_name: Mapped[str]

    def __repr__(self) -> str:
        return f"ID: {self.id} - file name: {self.file_name}"
